{extend name="public/base"}
{block name="content"}
        <ul class="gongn">
            {foreach $term.parent.child as $tc}
           <li class="<?php if(isset($term['address'][$tc['id']])){ ?> on <?php } ?> "><a href="{$tc.url}">{$tc.name}</a></li>
            {/foreach}
        </ul>
        
        <div id="box">
             <ul class="cp_ul">
                 {foreach $term.content.page_page.limit_10 as $tcc}
                 <li>
                    <a href="{$tcc.url}">
                       <img src="UPLOADS/{$tcc.cover_img}">
                       <div class="text">
                           <h3>{$tcc.name}</h3>
                           <p>{$tcc.description|clean_html|msubstr=0,70}【详情】</p>
                       </div>
                       <div style="clear:both;"></div>
                    </a>
                 </li>
                 {/foreach}
                 <li class="fix"><a href="#"></a></li>
                 <li class="fix"><a href="#"></a></li>
             </ul>
        </div>
        <div id="page">
             <ul>
                 {Wh:page count="$term['content']['limit_10']['pageCount']"}
                 {if ($p.type == 'last')}
                 {elseif ($p.type == 'next')}
                 {else /}
                 <li {if ($p.in)} class="on" {/if}><a href="{$p.url}">{$p.text}</a></li>
                 {/if}


                 {/Wh:page}

             </ul>
             <div style="clear:both"></div>
        </div>
        
{/block}